<%-- 
    Document   : bp_new
    Created on : Nov 21, 2008, 11:56:33 AM
    Author     : hp02
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<table>
    <tr>
        <td class="menucon">
            <html:link action="/bp_getbps.do" title="Go to main.">Business Partners</html:link>
        </td>
    </tr>
</table>
<html:messages id="messages" property="customMessage" message="true">
    <div class="heading4"><bean:write name="messages"/></div>
</html:messages>
<html:errors/>
<html:messages id="messages" message="true">
    <ul>
        <li><bean:write name="messages"/></li>
    </ul>
</html:messages>
<html:form action="/bp_save.do" method="post">
    <table border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>Name</td>
            <td>:</td>
            <td><html:text property="nama"/></td>
        </tr>
        <tr>
            <td>Address Line</td>
            <td>:</td>
            <td><html:text property="alamat"/></td>
        </tr>
        <tr>
            <td>Phone Number</td>
            <td>:</td>
            <td><html:text property="telp"/> e.g. 123-456789</td>
        </tr>
        <tr>
            <td>Fax. Number</td>
            <td>:</td>
            <td><html:text property="fax"/> e.g. 123-456789</td>
        </tr>
        <tr>
            <td>Contact</td>
            <td>:</td>
            <td><html:text property="kontak"/></td>
        </tr>
        <tr>
            <td>Email</td>
            <td>:</td>
            <td><html:text property="email"/></td>
        </tr>
        <tr>
            <td>Partner</td>
            <td>:</td>
            <td>
                <html:select property="partnerLevel">
                    <html:option value="1">Customer</html:option>
                    <html:option value="2">Supplier</html:option>
                    <html:option value="3">Contractor</html:option>
                    <html:option value="4">Consultant</html:option>
                    <html:option value="5">Project Owner</html:option>
                    <html:option value="6">Subcontractor</html:option>
                </html:select>
            </td>
        </tr>
        <tr>
            <td colspan="3"><html:submit value="Save Now"/></td>
        </tr>        
    </table>
</html:form>